package com.zj.designpattern.decorator;

/**
 * 鸡蛋手抓饼类  具体装饰(Concrete Decorator)角色
 */
public class EggshrededCake extends Deractor {
    public EggshrededCake(Cake cake) {
        super(cake);

    }

    @Override
    public String descripestion() {
        return "鸡蛋" + cake.descripestion();

    }

    @Override
    public Double money() {
        return cake.money() + 1.5;

    }

}
